package com.yuanqiworld.vw.domain;


import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.activerecord.RooJpaActiveRecord;
import org.springframework.roo.addon.json.RooJson;
import org.springframework.roo.addon.tostring.RooToString;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;

@RooJavaBean
@RooToString
@RooJson
@RooJpaActiveRecord(table = "vw_authority")
public class AuthorityInfo {

    @NotNull
    @Column(unique = true)
    private String authorityName;

    private String authorityLabel;

}
